<extend name="Public/base"/>

<!-- 子导航 -->
<block name="sidebar">
    <include file="sidemenu"/>
</block>

<block name="body">

    <div class="main-title">
        <h2>
            编辑帮助中心
        </h2>
    </div>
    <!-- 表单 -->
    <form id="form" action="{:U('help_update')}" method="post" class="form-horizontal" enctype="multipart/form-data">
        <!-- 基础文档模型 -->
        <div id="tab" class="tab-pane">


            <div class="form-item">
                <label class="item-label">详细内容</label>
                <textarea name="content">{$help['content']}</textarea>
                {:hook('adminArticleEdit', array('content'=>$field['content'],'content'=>$field['content']))}
            </div>
        </div>

        <input type="text" hidden name="id" value="{$help['id']}">
        <div class="form-item">
            <button class="btn btn-success submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>